<script>on openCardlock screenif "done" is in bg field done thenshow bg button "project done"hide bg button "in progress"elseshow bg button "in progress"hide bg button "project done"end ifput the number of cards of this bg into cdCountput cdCount && "cards" into bg field "card count"set lockmessages to truepush cardgo to the first card of this backgroundput 0 into finishedrepeat with i = 1 to cdCountif bg field done contains "done" then add 1 to finishedgo to the next card of this backgroundend repeatpop cardset the lockmessages to falseput ","&&finished&&"done" after bg field "card count"unlock screenend openCard</script>
</card>
card_3675.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
<text>Notes! Notes! You've got to have some notes!</text>
</content>
<content>
<layer>background</layer>
<id>35</id>
<text>done</text>
</content>
<name></name>
<script>on openCardlock screenif "done" is in bg field done thenshow bg button "project done"hide bg button "in progress"elseshow bg button "in progress"hide bg button "project done"end ifput the number of cards of this bg into cdCountput cdCount && "cards" into bg field "card count"set lockmessages to truepush cardgo to the first card of this backgroundput 0 into finishedrepeat with i = 1 to cdCountif bg field done contains "done" then add 1 to finishedgo to the next card of this backgroundend repeatpop cardset the lockmessages to falseput ","&&finished&&"done" after bg field "card count"unlock screenend openCard</script>
</card>
card_3897.xml
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >